#pragma once
#include "../drawopencv.h"
class CDrawFaceDetect2 :
	public CDrawOpenCV 
{
public:
	CDrawFaceDetect2(void);
	virtual ~CDrawFaceDetect2(void);
	DECLARE_MESSAGE_MAP()
public:
	// DealwithFrame
	virtual void DealwithFrame(void);
private:
	CvHaarClassifierCascade* cascade;
	CvMemStorage* storage1;
	void DetectAndDraw( IplImage* img ,int flag);
};

